
.PHONY: proto
proto:
	protoc --proto_path=. --micro_out=. proto/routeSrv/routeSrv.proto --go_out=.

.PHONY: build
build:
	CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o routeSrv *.go

.PHONY: test
test:
	go test -v ./... -cover

.PHONY: docker
docker:
	docker build . -t routeSrv:latest
